package com.mine.androidTool;

/**
 * 上传apk包信息
 * Created by xuchai on 2015/3/2.
 */
public class ApkInfo {

    public ApkInfo() {
        this.success = true;
    }

    /**
     * apk 包名
     */
    private String packageName;

    /**
     * 版本号
     */
    private String versionCode;

    /**
     * 版本名称
     */
    private String versionName;

    /**
     * 最小安卓版本
     */
    private String minOsVersion;

    private boolean success;

    private String filePath;

    private long packageSize;

    private String message;

    private String fileName;

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMinOsVersion() {
        return minOsVersion;
    }

    public void setMinOsVersion(String minOsVersion) {
        this.minOsVersion = minOsVersion;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public long getPackageSize() {
        return packageSize;
    }

    public void setPackageSize(long packageSize) {
        this.packageSize = packageSize;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }


    @Override
    public String toString() {
        return "ApkInfo{" +
                "packageName='" + packageName + '\'' +
                ", versionCode='" + versionCode + '\'' +
                ", versionName='" + versionName + '\'' +
                ", minOsVersion='" + minOsVersion + '\'' +
                ", success=" + success +
                ", filePath='" + filePath + '\'' +
                ", packageSize=" + packageSize +
                ", message='" + message + '\'' +
                ", fileName='" + fileName + '\'' +
                '}';
    }
}
